package org.example.modules.user.entry;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @Description user
 * @Author xiaotian
 * @Date 2025-03-02
 */
@Data
@TableName("user")
public class User {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String userName;
    private String nickName;
    private String phone;
    private String password;
    private String avatarUrl;
    private Integer gender;
    private Integer status;
    private String studentNo;
    private Integer authority;
    @TableField(fill = FieldFill.INSERT)
    private String createTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private String updateTime;

    private String realName;

    private String studentId;
}